package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.Date;
import java.util.List;

import static org.jsola.core.example.BaseExample.E_GMT_CREATE;
import static org.jsola.core.example.BaseExample.E_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_GMT_CREATE;
import static org.jsola.core.example.BaseExample.N_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.N_ID;
import static org.jsola.hr.example.TreatmentDisposeEventExample.E_COMPANY_ID;
import static org.jsola.hr.example.TreatmentDisposeEventExample.E_COMPANY_NAME;
import static org.jsola.hr.example.TreatmentDisposeEventExample.E_CURRENT_WORKFLOW;
import static org.jsola.hr.example.TreatmentDisposeEventExample.E_EMP_ID;
import static org.jsola.hr.example.TreatmentDisposeEventExample.E_EMP_ID_CARD;
import static org.jsola.hr.example.TreatmentDisposeEventExample.E_EMP_NAME;
import static org.jsola.hr.example.TreatmentDisposeEventExample.E_EVENT_TYPE;
import static org.jsola.hr.example.TreatmentDisposeEventExample.E_FINISH_DATE;
import static org.jsola.hr.example.TreatmentDisposeEventExample.E_IS_FINISH;
import static org.jsola.hr.example.TreatmentDisposeEventExample.E_IS_PRECEDENCE;
import static org.jsola.hr.example.TreatmentDisposeEventExample.E_TAKE_ORDERS_DATE;
import static org.jsola.hr.example.TreatmentDisposeEventExample.E_TAKE_ORDERS_USER_ID;
import static org.jsola.hr.example.TreatmentDisposeEventExample.E_TAKE_ORDERS_USER_NAME;
import static org.jsola.hr.example.TreatmentDisposeEventExample.E_TEMPLATE_ID;
import static org.jsola.hr.example.TreatmentDisposeEventExample.E_WORK_CITY;
import static org.jsola.hr.example.TreatmentDisposeEventExample.N_COMPANY_ID;
import static org.jsola.hr.example.TreatmentDisposeEventExample.N_COMPANY_NAME;
import static org.jsola.hr.example.TreatmentDisposeEventExample.N_CURRENT_WORKFLOW;
import static org.jsola.hr.example.TreatmentDisposeEventExample.N_EMP_ID;
import static org.jsola.hr.example.TreatmentDisposeEventExample.N_EMP_ID_CARD;
import static org.jsola.hr.example.TreatmentDisposeEventExample.N_EMP_NAME;
import static org.jsola.hr.example.TreatmentDisposeEventExample.N_EVENT_TYPE;
import static org.jsola.hr.example.TreatmentDisposeEventExample.N_FINISH_DATE;
import static org.jsola.hr.example.TreatmentDisposeEventExample.N_IS_FINISH;
import static org.jsola.hr.example.TreatmentDisposeEventExample.N_IS_PRECEDENCE;
import static org.jsola.hr.example.TreatmentDisposeEventExample.N_TAKE_ORDERS_DATE;
import static org.jsola.hr.example.TreatmentDisposeEventExample.N_TAKE_ORDERS_USER_ID;
import static org.jsola.hr.example.TreatmentDisposeEventExample.N_TAKE_ORDERS_USER_NAME;
import static org.jsola.hr.example.TreatmentDisposeEventExample.N_TEMPLATE_ID;
import static org.jsola.hr.example.TreatmentDisposeEventExample.N_WORK_CITY;

/**
 * 待遇处理事件
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【待遇处理事件】详情展示对象")
@Data
public class TreatmentDisposeEventVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private String id;

    @ApiModelProperty(notes = N_TEMPLATE_ID, example = E_TEMPLATE_ID)
    private String templateId;

    @ApiModelProperty(notes = N_EVENT_TYPE, example = E_EVENT_TYPE)
    private String eventType;

    @ApiModelProperty(notes = N_CURRENT_WORKFLOW, example = E_CURRENT_WORKFLOW)
    private String currentWorkflow;

    @ApiModelProperty(notes = N_TAKE_ORDERS_USER_ID, example = E_TAKE_ORDERS_USER_ID)
    private String takeOrdersUserId;

    @ApiModelProperty(notes = N_TAKE_ORDERS_USER_NAME, example = E_TAKE_ORDERS_USER_NAME)
    private String takeOrdersUserName;

    @ApiModelProperty(notes = N_TAKE_ORDERS_DATE, example = E_TAKE_ORDERS_DATE)
    private Date takeOrdersDate;

    @ApiModelProperty(notes = N_IS_PRECEDENCE, example = E_IS_PRECEDENCE)
    private Boolean isPrecedence;

    @ApiModelProperty(notes = N_IS_FINISH, example = E_IS_FINISH)
    private Boolean isFinish;

    @ApiModelProperty(notes = N_FINISH_DATE, example = E_FINISH_DATE)
    private Date finishDate;

    @ApiModelProperty(notes = N_EMP_ID, example = E_EMP_ID)
    private String empId;

    @ApiModelProperty(notes = N_EMP_NAME, example = E_EMP_NAME)
    private String empName;

    @ApiModelProperty(notes = N_EMP_ID_CARD, example = E_EMP_ID_CARD)
    private String empIdCard;

    @ApiModelProperty(notes = N_COMPANY_ID, example = E_COMPANY_ID)
    private String companyId;

    @ApiModelProperty(notes = N_COMPANY_NAME, example = E_COMPANY_NAME)
    private String companyName;

    @ApiModelProperty(notes = N_WORK_CITY, example = E_WORK_CITY)
    private String workCity;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;

    @ApiModelProperty(notes = "模板名称")
    private String templateName;

    @ApiModelProperty(notes = "模板下树形表单")
    List<FormGroupVO> formGroupTree;

}

